/*
 * circularlist.h
 *
 *  Created on: Feb 9, 2010
 *      Author: rohithdv
 */

#ifndef CIRCULARLIST_H_
#define CIRCULARLIST_H_

#include "node.h"

class circularlist {

private:
	int playerIndex;
	node *header;
	bool rollBackOccurred;
	node *currPointer;
	node *lastNode;

public:
	circularlist();
	~circularlist();
	void updateList(int playerind, int noofstrategies) ;
	bool incrementPointer();
	int returnCurrPointerValue();
	void reset();
	void display();
	void deleteEntry(int strategyNumber);
};


#endif /* CIRCULARLIST_H_ */
